Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add task solution #4931

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alyonashunevych
Copy link

@alyonashunevych alyonashunevych commented Oct 14, 2024

  • DEMO LINK

  • TEST REPORT LINK

  • Yellow stars are added with container modifier + pseudo-selector (NO extra classes)

  • Each BEM block has its own separate file

  • All Typical Mistakes from BEM lesson theory are checked.

  • Code follows all the Code Style Rules ❗️

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job on your code! 😊 However, I would suggest making some changes to the class names in your CSS to be more descriptive and using semantic tags in your HTML. These changes will make your code more readable and accessible. Keep up the good work! 👍

✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨

src/index.html Outdated
@@ -13,6 +13,52 @@
/>
</head>
<body>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a good practice to use semantic tags in your HTML. Consider wrapping your .stars divs with a <section> tag. This will improve the semantic meaning of your HTML and help screen readers understand your content structure better.

src/index.html Outdated
@@ -13,6 +13,52 @@
/>
</head>
<body>
<h1>Stars</h1>
<div class="stars stars--0">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The class name stars--0 doesn't provide a clear understanding of what it represents. Consider renaming it to something more descriptive, like stars--none.

src/index.html Outdated
<div class="stars__star"></div>
</div>

<div class="stars stars--1">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The class name stars--1 could be more descriptive. Consider renaming it to something like stars--one.

src/index.html Outdated
<div class="stars__star"></div>
</div>

<div class="stars stars--2">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The class name stars--2 could be more descriptive. Consider renaming it to something like stars--two.

src/index.html Outdated
<div class="stars__star"></div>
</div>

<div class="stars stars--3">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The class name stars--3 could be more descriptive. Consider renaming it to something like stars--three.

src/index.html Outdated
<div class="stars__star"></div>
</div>

<div class="stars stars--4">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The class name stars--4 could be more descriptive. Consider renaming it to something like stars--four.

src/index.html Outdated
<div class="stars__star"></div>
</div>

<div class="stars stars--5">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The class name stars--5 could be more descriptive. Consider renaming it to something like stars--five.

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! Your code is generally well-structured and follows best practices. There are just a few minor formatting issues to address for future improvements. Keep up the good work! 👍

✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨

Comment on lines 10 to 13
<link
rel="stylesheet"
href="./style.css"
href="././styles/style.css"
/>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. Each attribute should be on a new line with 2-space indentation.

@@ -9,10 +9,56 @@
<title>Stars</title>
<link
rel="stylesheet"
href="./style.css"
href="././styles/style.css"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The value of the href attribute seems to be incorrect. It should be ./styles/style.css instead of ././styles/style.css.

Comment on lines +16 to +21
<section class="stars stars--0">
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember about correct indentation between parent and child elements. Each level of nesting, including text, contained inside the element, requires 2-space offset. Also blank line shouldn't be between parent and child elements.

Comment on lines +24 to +29
<section class="stars stars--1">
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember about correct indentation between parent and child elements.

Comment on lines +32 to +37
<section class="stars stars--2">
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember about correct indentation between parent and child elements.

Comment on lines +40 to +45
<section class="stars stars--3">
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember about correct indentation between parent and child elements.

Comment on lines +48 to +53
<section class="stars stars--4">
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember about correct indentation between parent and child elements.

Comment on lines +56 to +61
<section class="stars stars--5">
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember about correct indentation between parent and child elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants